﻿using System.ComponentModel.DataAnnotations;

namespace Model
{
    /// <summary>
    /// 居民信息表
    /// </summary>
    public class Room
    {
        [Key]
        public int RoomId { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Tximg { get; set; }
        /// <summary>
        /// 居民姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string Card { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string Addrs { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string MinType { get; set; }
        /// <summary>
        /// 小区
        /// </summary>
        public string MinRoom { get; set; }
        /// <summary>
        /// 房间号
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool ShState { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddDate { get; set; }= DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool Ljsc { get; set; }
    }
}
